package com.exam.system.pojo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Classname Permission
 * @Description 权限实体类
 * @Date 2019/8/9 21:52
 * @Created by WDD
 */
@Data
public class Permission {
    private Integer id;
    private Integer pid;
    private String name;
    private String icon;
    private String url;
    //添加元素
    private Boolean checked = false;
    private List<Permission> children = new ArrayList<>();
}
